/**
 *
 */
package anysware.restlet;

import org.restlet.resource.Representation;
import org.restlet.resource.Variant;

/**
 * TODO: doc me
 *
 * @author keke<keke@codehaus.org>
 * @revision $Revision: 111 $
 * @version
 */
public interface RepresentationHelper {
	/**
	 *
	 * @param string
	 * @param entity
	 * @return
	 * @exception IllegalRepresentationException
	 */
	Object toEntity(String string, Representation entity);

	Representation toRepresentation(String name, Object entity, Variant variant);

}
